<?php
    $categories = $this->requestAction('/adCategories/mainCategories');
    $categories = am(array('All'=>'All Ads'), $categories);

    echo $form->input('AdCategory.category', array('label'=>false, 'div'=>false, 'options'=>$categories));
?>